package com.tinem.platform.client.message;

import com.tinem.platform.module.pojo.vo.message.PushReq;
import com.tinem.platform.module.pojo.vo.message.PushRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className PushClient
 * @description TODO
 * @site 
 * @company 
 * @create 2020-09-28 09:58
 */
@FeignClient(value = "platform-cloud-service-message",contextId = "platform-cloud-service-message.push")
public interface PushClient {
    @PostMapping("/push.api")
    @ResponseBody PushRes push(@RequestBody PushReq pushReq);
}
